package com.wtcrazy.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.List;

@Data
@TableName(value = "order")
public class Order {
    private String id;
    private long time;
    private double cost;
    private String uid;
    private String addressid;
    private Integer goodnum;
    private String way;
    private String content;
    //一对一
    private Address address;
    private User user;
    //一对多
    private List<Product> listProduct;
}
